package org.jeecg.common.system.function;

/**
 * 字典项规则生成器
 *
 * @param <R>
 * @author lixingxing
 */
@FunctionalInterface
public interface DictItemValueGenerator<R, P> {
    /**
     * generator
     *
     * @param code
     * @return
     */
    R generator(P code);
}
